package com.dearbinge.data.pojo.bankCard;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

@Api("銀行卡")
public class BankCard implements Serializable {

    /**
     * id
     */
    @ApiModelProperty("id")
    private Integer id;

    /**
     * 用户ID
     */
    @ApiModelProperty("用户ID")
    private String userId;

    /**
     * 手机号码
     */
    @ApiModelProperty("手机号码")
    private String phoneNumber;

    /**
     * 身份证号码
     */
    @ApiModelProperty("身份证号码")
    private String idCode;

    /**
     * 银行卡号码
     */
    @ApiModelProperty("银行卡号码")
    private String oneLineCard;

    /**
     * 银行编码
     */
    @ApiModelProperty("银行编码")
    private String oneLineCode;

    /**
     * 银行名称
     */
    @ApiModelProperty("银行名称")
    private String oneLineName;

    /**
     * 银行卡类型（0：储蓄卡  1：借记卡  2：信用卡）
     */
    @ApiModelProperty("银行卡类型（0：储蓄卡  1：借记卡  2：信用卡）")
    private Integer oneLineType;

    /**
     * 持卡人名称
     */
    @ApiModelProperty("持卡人名称")
    private String cardholderNam;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty("修改时间")
    private Date modifyTime;

    /**
     * 创建人
     */
    @ApiModelProperty("创建人")
    private String createBy;

    /**
     * 修改人
     */
    @ApiModelProperty("修改人")
    private String modifyBy;

    /**
     * 是否删除（0：不删除  1：删除）默认：0
     */
    @ApiModelProperty("id")
    private Boolean isDeleted;

    /**
     * 验证码
     * @return
     */
    @ApiModelProperty("验证码")
    private String smsCode;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber == null ? null : phoneNumber.trim();
    }

    public String getIdCode() {
        return idCode;
    }

    public void setIdCode(String idCode) {
        this.idCode = idCode == null ? null : idCode.trim();
    }

    public String getOneLineCard() {
        return oneLineCard;
    }

    public void setOneLineCard(String oneLineCard) {
        this.oneLineCard = oneLineCard == null ? null : oneLineCard.trim();
    }

    public String getOneLineCode() {
        return oneLineCode;
    }

    public void setOneLineCode(String oneLineCode) {
        this.oneLineCode = oneLineCode == null ? null : oneLineCode.trim();
    }

    public Integer getOneLineType() {
        return oneLineType;
    }

    public void setOneLineType(Integer oneLineType) {
        this.oneLineType = oneLineType;
    }

    public String getCardholderNam() {
        return cardholderNam;
    }

    public void setCardholderNam(String cardholderNam) {
        this.cardholderNam = cardholderNam == null ? null : cardholderNam.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public String getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy == null ? null : modifyBy.trim();
    }

    public Boolean getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Boolean isDeleted) {
        this.isDeleted = isDeleted;
    }

    public String getSmsCode() {
        return smsCode;
    }

    public void setSmsCode(String smsCode) {
        this.smsCode = smsCode;
    }

    public String getOneLineName() {
        return oneLineName;
    }

    public void setOneLineName(String oneLineName) {
        this.oneLineName = oneLineName;
    }
}